package com.spsoft.workflow.model.vo.biz;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("流程日志 需要返回给前端的VO")
public class ProcessLogVo {


    @ApiModelProperty(value = "日志主键")
    private String id;


    @ApiModelProperty(value = "处理人")
    private String createdBy;

    @ApiModelProperty(value = "处理人岗位")
    private String rolename;

    @ApiModelProperty(value = "环节名称")
    private String nodeName;

    @ApiModelProperty(value = " 开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "处理结果")
    private String handleResult;

    @ApiModelProperty(value = "处理意见")
    private String remark;

}
